/* ============================================================
* Crusta - Qt5 webengine browser
* Copyright (C) 2017 Anmol Gautam <tarptaeya@gmail.com>
*
* THIS FILE IS A PART OF CRUSTA
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
* ============================================================ */

#ifndef MANAGER_H
#define MANAGER_H

#include "historymanager.h"
#include "downloadmanager.h"

#include <QWidget>
#include <QListWidget>
#include <QListWidgetItem>
#include <QHBoxLayout>
#include <QStackedWidget>




class Manager:public QWidget{
public:
    HistoryManager* history_page=new HistoryManager();
    DownloadManager* download_page=new DownloadManager();
    QHBoxLayout* hbox=new QHBoxLayout();
    QListWidget* list;
    QStackedWidget* stack;
    void createManager();
    void createOptions();
    void createPages();
};




#endif // MANAGER_H
